<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>SILVERCODERS DocToText: doctotext::PlainTextExtractor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SILVERCODERS DocToText
   &#160;<span id="projectnumber">4.0.1512</span>
   </div>
   <div id="projectbrief">Converts DOC, XLS, XLSB, PPT, RTF, ODF (ODT, ODS, ODP), OOXML (DOCX, XLSX, PPTX), iWork (PAGES, NUMBERS, KEYNOTE), ODFXML (FODP, FODS, FODT), PDF, EML and HTML documents to plain text. Extracts metadata and annotations.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>doctotext</b></li><li class="navelem"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classdoctotext_1_1PlainTextExtractor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">doctotext::PlainTextExtractor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="plain__text__extractor_8h_source.html">plain_text_extractor.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4c9ea1205adaeb0293833cb342434ba8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> { <br/>
&#160;&#160;<b>PARSER_AUTO</b>, 
<b>PARSER_RTF</b>, 
<b>PARSER_ODF_OOXML</b>, 
<b>PARSER_XLS</b>, 
<br/>
&#160;&#160;<b>PARSER_DOC</b>, 
<b>PARSER_PPT</b>, 
<b>PARSER_HTML</b>, 
<b>PARSER_IWORK</b>, 
<br/>
&#160;&#160;<b>PARSER_XLSB</b>, 
<b>PARSER_PDF</b>, 
<b>PARSER_TXT</b>, 
<b>PARSER_EML</b>, 
<br/>
&#160;&#160;<b>PARSER_ODFXML</b>
<br/>
 }</td></tr>
<tr class="separator:a4c9ea1205adaeb0293833cb342434ba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af3860236c37c8d1af576f21d8d0aa352"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#af3860236c37c8d1af576f21d8d0aa352">PlainTextExtractor</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type=PARSER_AUTO)</td></tr>
<tr class="separator:af3860236c37c8d1af576f21d8d0aa352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c15ef99a89289ae637a5c746fe4ee7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#af8c15ef99a89289ae637a5c746fe4ee7">setVerboseLogging</a> (bool verbose)</td></tr>
<tr class="separator:af8c15ef99a89289ae637a5c746fe4ee7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecef3bac8503995043a7c2e2b349fa6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#aecef3bac8503995043a7c2e2b349fa6f">setLogStream</a> (std::ostream &amp;log_stream)</td></tr>
<tr class="separator:aecef3bac8503995043a7c2e2b349fa6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ac048d5ddf37fc33d92773bf72d2f19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a5ac048d5ddf37fc33d92773bf72d2f19">setFormattingStyle</a> (const <a class="el" href="structdoctotext_1_1FormattingStyle.html">FormattingStyle</a> &amp;style)</td></tr>
<tr class="separator:a5ac048d5ddf37fc33d92773bf72d2f19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a635489b3bf18dc29c9c5e6bfd4c50c12"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a635489b3bf18dc29c9c5e6bfd4c50c12"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setXmlParseMode</b> (XmlParseMode mode)</td></tr>
<tr class="separator:a635489b3bf18dc29c9c5e6bfd4c50c12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a88a00db3bcb3d1620e65ff681f7307"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a9a88a00db3bcb3d1620e65ff681f7307">setManageXmlParser</a> (bool manage)</td></tr>
<tr class="separator:a9a88a00db3bcb3d1620e65ff681f7307"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a124e16439926713d9b0016634283b16f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a124e16439926713d9b0016634283b16f">parserTypeByFileExtension</a> (const std::string &amp;file_name)</td></tr>
<tr class="separator:a124e16439926713d9b0016634283b16f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6b3503a99d53160ef84c5d160bca500"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#af6b3503a99d53160ef84c5d160bca500">parserTypeByFileExtension</a> (const char *file_name)</td></tr>
<tr class="separator:af6b3503a99d53160ef84c5d160bca500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3445d0d4d4c9990d1f9fae82bae1eb8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#aa3445d0d4d4c9990d1f9fae82bae1eb8">parserTypeByFileContent</a> (const std::string &amp;file_name, <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> &amp;parser_type)</td></tr>
<tr class="separator:aa3445d0d4d4c9990d1f9fae82bae1eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57427932d2e93dad1ab5b246781aa1bd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a57427932d2e93dad1ab5b246781aa1bd">parserTypeByFileContent</a> (const char *file_name, <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> &amp;parser_type)</td></tr>
<tr class="separator:a57427932d2e93dad1ab5b246781aa1bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1193ae5b861ea310783bee5d90e1f754"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a1193ae5b861ea310783bee5d90e1f754">parserTypeByFileContent</a> (const char *buffer, size_t size, <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> &amp;parser_type)</td></tr>
<tr class="separator:a1193ae5b861ea310783bee5d90e1f754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ee898ddf7450ff51d4f7026fa32697"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a> (const std::string &amp;file_name, std::string &amp;text)</td></tr>
<tr class="separator:a64ee898ddf7450ff51d4f7026fa32697"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81c90617ad0dd395226d8d90a4d8dd4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#ab81c90617ad0dd395226d8d90a4d8dd4">processFile</a> (const char *file_name, char *&amp;text)</td></tr>
<tr class="separator:ab81c90617ad0dd395226d8d90a4d8dd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54e7f112c99391b732acd214280c851d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a54e7f112c99391b732acd214280c851d">processFile</a> (const char *buffer, size_t size, char *&amp;text)</td></tr>
<tr class="separator:a54e7f112c99391b732acd214280c851d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bd44dd545ccc7d97c650a3784413330"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a2bd44dd545ccc7d97c650a3784413330">processFile</a> (const char *buffer, size_t size, std::string &amp;text)</td></tr>
<tr class="separator:a2bd44dd545ccc7d97c650a3784413330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5b6e98441f24a23a8921c4b5d29c5ac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#ab5b6e98441f24a23a8921c4b5d29c5ac">processFile</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const std::string &amp;file_name, std::string &amp;text)</td></tr>
<tr class="separator:ab5b6e98441f24a23a8921c4b5d29c5ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5f4d46d088df49a93fcab89c0173bc9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#af5f4d46d088df49a93fcab89c0173bc9">processFile</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const char *file_name, char *&amp;text)</td></tr>
<tr class="separator:af5f4d46d088df49a93fcab89c0173bc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63186564bcb23955f9ab3350bd764712"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a63186564bcb23955f9ab3350bd764712">processFile</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const char *buffer, size_t size, char *&amp;text)</td></tr>
<tr class="separator:a63186564bcb23955f9ab3350bd764712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cd843fe1c2fdf906fa7fea60399374b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a3cd843fe1c2fdf906fa7fea60399374b">processFile</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const char *buffer, size_t size, std::string &amp;text)</td></tr>
<tr class="separator:a3cd843fe1c2fdf906fa7fea60399374b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12fc8d7497365dd4e285d734b6f83440"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a> (const std::string &amp;file_name, <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;metadata)</td></tr>
<tr class="separator:a12fc8d7497365dd4e285d734b6f83440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7b5fbaaf484d42ec382c0af79532860"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#af7b5fbaaf484d42ec382c0af79532860">extractMetadata</a> (const char *file_name, <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;metadata)</td></tr>
<tr class="separator:af7b5fbaaf484d42ec382c0af79532860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae94f418f0bd2760a575740f3c307fe51"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#ae94f418f0bd2760a575740f3c307fe51">extractMetadata</a> (const char *buffer, size_t size, <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;metadata)</td></tr>
<tr class="separator:ae94f418f0bd2760a575740f3c307fe51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c04475e93f95a1c11b47e2411b9c432"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a6c04475e93f95a1c11b47e2411b9c432">extractMetadata</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const std::string &amp;file_name, <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;metadata)</td></tr>
<tr class="separator:a6c04475e93f95a1c11b47e2411b9c432"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a355f39a2cfffd856e9c2cec5fe33d74d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a355f39a2cfffd856e9c2cec5fe33d74d">extractMetadata</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const char *file_name, <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;metadata)</td></tr>
<tr class="separator:a355f39a2cfffd856e9c2cec5fe33d74d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8930b3752da194d6834d9c15bbf8e2ff"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a8930b3752da194d6834d9c15bbf8e2ff">extractMetadata</a> (<a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, bool fallback, const char *buffer, size_t size, <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;metadata)</td></tr>
<tr class="separator:a8930b3752da194d6834d9c15bbf8e2ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fc8f75f79824cb8f562665dc4485240"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4fc8f75f79824cb8f562665dc4485240">getNumberOfLinks</a> () const </td></tr>
<tr class="separator:a4fc8f75f79824cb8f562665dc4485240"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ea12f2b0ee17e9edc44b71dfbe9afdf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a3ea12f2b0ee17e9edc44b71dfbe9afdf">getParsedLinks</a> (std::vector&lt; <a class="el" href="classdoctotext_1_1Link.html">Link</a> &gt; &amp;links) const </td></tr>
<tr class="separator:a3ea12f2b0ee17e9edc44b71dfbe9afdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabfe26490a6d6e80a6e1ace699b05e7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#aabfe26490a6d6e80a6e1ace699b05e7c">getParsedLinks</a> (const <a class="el" href="classdoctotext_1_1Link.html">Link</a> *&amp;links, size_t &amp;number_of_links) const </td></tr>
<tr class="separator:aabfe26490a6d6e80a6e1ace699b05e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae281643a2d3a941686c4a8a500fd0524"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classdoctotext_1_1Link.html">Link</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#ae281643a2d3a941686c4a8a500fd0524">getParsedLinks</a> () const </td></tr>
<tr class="separator:ae281643a2d3a941686c4a8a500fd0524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f846d84bf3cbfeb4e74466eed3ecac8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a3f846d84bf3cbfeb4e74466eed3ecac8">getAttachments</a> (std::vector&lt; <a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> &gt; &amp;attachments) const </td></tr>
<tr class="separator:a3f846d84bf3cbfeb4e74466eed3ecac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d9be5ff790aa71cced4abec8312796"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a07d9be5ff790aa71cced4abec8312796">getAttachments</a> (const <a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> *&amp;attachments, size_t &amp;number_of_attachments) const </td></tr>
<tr class="separator:a07d9be5ff790aa71cced4abec8312796"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95dd1825ecdf909785a0843e99df289c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a95dd1825ecdf909785a0843e99df289c">getAttachments</a> () const </td></tr>
<tr class="separator:a95dd1825ecdf909785a0843e99df289c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affe6580fb1d56d88062afc11cec3cfab"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#affe6580fb1d56d88062afc11cec3cfab">getNumberOfAttachments</a> () const </td></tr>
<tr class="separator:affe6580fb1d56d88062afc11cec3cfab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Extracts plain text from documents. In addition it can be used to extract metadata and comments (annotations). Example of usage (extracting plain text): </p>
<div class="fragment"><div class="line"><a class="code" href="classdoctotext_1_1PlainTextExtractor.html#af3860236c37c8d1af576f21d8d0aa352">PlainTextExtractor</a> extractor;</div>
<div class="line">std::string text;</div>
<div class="line"><span class="keywordflow">if</span> (extractor.processFile(<span class="stringliteral">&quot;example.doc&quot;</span>, text))</div>
<div class="line">    std::cout &lt;&lt; text &lt;&lt; std::endl;</div>
<div class="line"><span class="keywordflow">else</span></div>
<div class="line">    std::cerr &lt;&lt; <span class="stringliteral">&quot;Error.&quot;</span> &lt;&lt; std::endl;</div>
</div><!-- fragment --><p> Example of usage (extracting metadata): </p>
<div class="fragment"><div class="line"><a class="code" href="classdoctotext_1_1PlainTextExtractor.html#af3860236c37c8d1af576f21d8d0aa352">PlainTextExtractor</a> extractor;</div>
<div class="line">Metadata meta;</div>
<div class="line"><span class="keywordflow">if</span> (extractor.extractMetadata(<span class="stringliteral">&quot;example.doc&quot;</span>, meta))</div>
<div class="line">    std::cout &lt;&lt; meta.author &lt;&lt; std::endl;</div>
<div class="line"><span class="keywordflow">else</span></div>
<div class="line">    std::cerr &lt;&lt; <span class="stringliteral">&quot;Error.&quot;</span> &lt;&lt; std::endl;</div>
</div><!-- fragment --><p> Note that each instance of <a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a> should be used in single thread only. One instance of this object cannot parse two or more files in parallel. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a4c9ea1205adaeb0293833cb342434ba8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">doctotext::PlainTextExtractor::ParserType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enumerates all supported document formats. <code>PARSER_AUTO</code> means unknown format that should be determined. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af3860236c37c8d1af576f21d8d0aa352"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">doctotext::PlainTextExtractor::PlainTextExtractor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em> = <code>PARSER_AUTO</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parser_type</td><td>restricts parser to specified document format. If set to <code>PARSER_AUTO</code> the parser will work with all supported documents formats. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a12fc8d7497365dd4e285d734b6f83440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::extractMetadata </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;&#160;</td>
          <td class="paramname"><em>metadata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts metadata (author, creation time, etc). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_name</td><td>full path to file containing document. </td></tr>
    <tr><td class="paramname">metadata</td><td>reference to object of <code><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a></code> class that will contain extracted information. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if document was processed successfully, <code>false</code> otherwise. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af7b5fbaaf484d42ec382c0af79532860"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::extractMetadata </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;&#160;</td>
          <td class="paramname"><em>metadata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="ae94f418f0bd2760a575740f3c307fe51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::extractMetadata </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;&#160;</td>
          <td class="paramname"><em>metadata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts metadata (author, creation time, etc). Uses memory buffer instead of file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>pointer to the file content array </td></tr>
    <tr><td class="paramname">size</td><td>size of buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6c04475e93f95a1c11b47e2411b9c432"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::extractMetadata </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;&#160;</td>
          <td class="paramname"><em>metadata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts metadata (author, creation time, etc). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parser_type</td><td>restricts parser to specified document format. If set to <code>PARSER_AUTO</code> the parser will work with all supported documents formats. This argument override parser type set for the object. </td></tr>
    <tr><td class="paramname">fallback</td><td>if <code>true</code> parser will try to detect document format if parsing of document format specified in <code>parser_type</code> argument fails. This parameter is ignored if <code>parser_type</code> is set to <code>PARSER_AUTO</code>. </td></tr>
    <tr><td class="paramname">file_name</td><td>full path to file containing document. </td></tr>
    <tr><td class="paramname">metadata</td><td>reference to object of <code><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a></code> class that will contain extracted information. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if document was processed successfully, <code>false</code> otherwise. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a355f39a2cfffd856e9c2cec5fe33d74d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::extractMetadata </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;&#160;</td>
          <td class="paramname"><em>metadata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a8930b3752da194d6834d9c15bbf8e2ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::extractMetadata </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1Metadata.html">Metadata</a> &amp;&#160;</td>
          <td class="paramname"><em>metadata</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts metadata (author, creation time, etc). Uses memory buffer instead of file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>pointer to the file content array </td></tr>
    <tr><td class="paramname">size</td><td>size of buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f846d84bf3cbfeb4e74466eed3ecac8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::getAttachments </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>attachments</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets vector of the attachments in the last parsed file. Only EML parser is supported for now. Call this method after you have processed file. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a07d9be5ff790aa71cced4abec8312796"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::getAttachments </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> *&amp;&#160;</td>
          <td class="paramname"><em>attachments</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>number_of_attachments</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets table of the attachments in the last parsed file. Only EML parser is supported for now. Call this method after you have processed file. Note that table of attachments will be deleted, if <code><a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a></code> is deleted or another file is parsed. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attachments</td><td>pointer to the first element in table of <code><a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a></code> objects. </td></tr>
    <tr><td class="paramname">number_of_attachments</td><td>number of attachments in table. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a95dd1825ecdf909785a0843e99df289c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a>* doctotext::PlainTextExtractor::getAttachments </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets table of the attachments in the last parsed file. Only EML parser is supported for now. Call this method after you have processed file. Note that table of attachments will be deleted, if <a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a> is deleted or another file is parsed. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the first element in table of <code><a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a></code> objects. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> </dd></dl>

</div>
</div>
<a class="anchor" id="affe6580fb1d56d88062afc11cec3cfab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t doctotext::PlainTextExtractor::getNumberOfAttachments </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets number of attachments in the last parsed file. Only EML parser is supported for now. Call this method after you have processed file. </p>
<dl class="section return"><dt>Returns</dt><dd>number of the attachments in parsed file. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Attachment.html">Attachment</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4fc8f75f79824cb8f562665dc4485240"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t doctotext::PlainTextExtractor::getNumberOfLinks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets number of links in the last parsed file. Supported parsers: HTML/EML/ODF_OOXML/ODFXML. </p>
<dl class="section return"><dt>Returns</dt><dd>number of the links in parsed file. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Link.html">Link</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3ea12f2b0ee17e9edc44b71dfbe9afdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::getParsedLinks </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classdoctotext_1_1Link.html">Link</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>links</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets vector of the links in the last parsed file. Supported parsers: HTML/EML/ODF_OOXML/ODFXML. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Link.html">Link</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aabfe26490a6d6e80a6e1ace699b05e7c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::getParsedLinks </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdoctotext_1_1Link.html">Link</a> *&amp;&#160;</td>
          <td class="paramname"><em>links</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>number_of_links</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets table of the links in the last parsed file. Supported parsers: HTML/EML/ODF_OOXML/ODFXML. Note that table of links will be deleted, if <code><a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a></code> is deleted or another file is parsed. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">links</td><td>pointer to the first element in table of <code><a class="el" href="classdoctotext_1_1Link.html">Link</a></code> objects. </td></tr>
    <tr><td class="paramname">number_of_links</td><td>number of links in table. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Link.html">Link</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae281643a2d3a941686c4a8a500fd0524"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classdoctotext_1_1Link.html">Link</a>* doctotext::PlainTextExtractor::getParsedLinks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets table of the links in the last parsed file. Supported parsers: HTML/EML/ODF_OOXML/ODFXML. Note that table of links will be deleted, if <a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a> is deleted or another file is parsed. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="section return"><dt>Returns</dt><dd>pointer to the first element in table of <code><a class="el" href="classdoctotext_1_1Link.html">Link</a></code> objects. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1Link.html">Link</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa3445d0d4d4c9990d1f9fae82bae1eb8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::parserTypeByFileContent </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> &amp;&#160;</td>
          <td class="paramname"><em>parser_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Tries to determine document format by file content. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_name</td><td>full path to file containing document. </td></tr>
    <tr><td class="paramname">reference</td><td>to variable of <code>ParserType</code> type that will contain determined document format or PARSER_AUTO if document format cannot be determined. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if document was processed successfully, <code>false</code> otherwise. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a124e16439926713d9b0016634283b16f">parserTypeByFileExtension</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a57427932d2e93dad1ab5b246781aa1bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::parserTypeByFileContent </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> &amp;&#160;</td>
          <td class="paramname"><em>parser_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a1193ae5b861ea310783bee5d90e1f754"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::parserTypeByFileContent </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> &amp;&#160;</td>
          <td class="paramname"><em>parser_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Tries to determine document format by file content. Uses memory buffer instead of file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>pointer to the file content array </td></tr>
    <tr><td class="paramname">size</td><td>size of buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a124e16439926713d9b0016634283b16f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> doctotext::PlainTextExtractor::parserTypeByFileExtension </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Tries to determine document format by file name extension. </p>
<dl class="section warning"><dt>Warning</dt><dd>Some applications save CSV documents with "xls" extension, RTF documents with "doc" extension or HTML documents with "xls" or "doc" extension. In such a situation this simple test will fail. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_name</td><td>file name or full path to file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>value of <code>ParserType</code> type representing determined document format or PARSER_AUTO if document format cannot be determined. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#aa3445d0d4d4c9990d1f9fae82bae1eb8">parserTypeByFileContent</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af6b3503a99d53160ef84c5d160bca500"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> doctotext::PlainTextExtractor::parserTypeByFileExtension </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a64ee898ddf7450ff51d4f7026fa32697"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts plain text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_name</td><td>full path to file containing document. </td></tr>
    <tr><td class="paramname">text</td><td>reference to object of <code>std::string</code> class that will contain produced plain text. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if document was processed successfully, <code>false</code> otherwise. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a5ac048d5ddf37fc33d92773bf72d2f19">setFormattingStyle</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab81c90617ad0dd395226d8d90a4d8dd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>reference to pointer that will point to produced plain text in form of null-terminated array of chars. The caller is responsible for deleting the buffer using <code>delete</code>[] operator. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a54e7f112c99391b732acd214280c851d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts plain text. Uses memory buffer instead of file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>pointer to the file content array </td></tr>
    <tr><td class="paramname">size</td><td>size of buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2bd44dd545ccc7d97c650a3784413330"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="ab5b6e98441f24a23a8921c4b5d29c5ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts plain text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parser_type</td><td>restricts parser to specified document format. If set to <code>PARSER_AUTO</code> the parser will work with all supported documents formats. This argument override parser type set for the object. </td></tr>
    <tr><td class="paramname">fallback</td><td>if <code>true</code> parser will try to detect document format if parsing of document format specified in <code>parser_type</code> argument fails. This parameter is ignored if <code>parser_type</code> is set to <code>PARSER_AUTO</code>. </td></tr>
    <tr><td class="paramname">file_name</td><td>full path to file containing document. </td></tr>
    <tr><td class="paramname">text</td><td>reference to object of <code>std::string</code> class that will contain produced plain text. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if document was processed successfully, <code>false</code> otherwise. </dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a5ac048d5ddf37fc33d92773bf72d2f19">setFormattingStyle</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af5f4d46d088df49a93fcab89c0173bc9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>reference to pointer that will point to produced plain text in form of null-terminated buffer. The caller is responsible for deleting the buffer using <code>delete</code>[] operator. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a63186564bcb23955f9ab3350bd764712"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parses specified document and extracts plain text. Uses memory buffer instead of file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>pointer to the file content array </td></tr>
    <tr><td class="paramname">size</td><td>size of buffer </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3cd843fe1c2fdf906fa7fea60399374b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool doctotext::PlainTextExtractor::processFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&#160;</td>
          <td class="paramname"><em>parser_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a5ac048d5ddf37fc33d92773bf72d2f19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::setFormattingStyle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdoctotext_1_1FormattingStyle.html">FormattingStyle</a> &amp;&#160;</td>
          <td class="paramname"><em>style</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets how tables, lists and urls should be formatted in plain text produced by them parser. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">style</td><td>instance of structure <code><a class="el" href="structdoctotext_1_1FormattingStyle.html">FormattingStyle</a></code> that specifies formatting style. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="structdoctotext_1_1FormattingStyle.html">FormattingStyle</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aecef3bac8503995043a7c2e2b349fa6f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::setLogStream </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>log_stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Assign an output stream that will be used for logging messages and errors. It can be used to capture logs to a file, string or show them in dialog. <code>std::cerr</code> stream is used by default. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">log_stream</td><td>the stream that will be used for logging </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#af8c15ef99a89289ae637a5c746fe4ee7">setVerboseLogging</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9a88a00db3bcb3d1620e65ff681f7307"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::setManageXmlParser </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>manage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enables or disables managing libxml2 parser by the object. If it is enabled (default) <a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a> object calls xmlInitParser() and xmlCleanupParser() functions automatically. All <a class="el" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a> objects uses a common thread-safe counter for this purpose. This is good if you are not using libxml2 elsewhere in the application. It it is disabled it is your responsibility to call xmlInitParser() and xmlCleanupParser(). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">manage</td><td>if <code>true</code> managing will be enabled, if <code>false</code> managing will be disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af8c15ef99a89289ae637a5c746fe4ee7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void doctotext::PlainTextExtractor::setVerboseLogging </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>verbose</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enables or disables verbose logging. Verbose logging is disabled by default. If verbose logging is disabled only important messages and errors are logged. If verbose logging is enabled all messages and errors are logged. </p>
<dl class="section warning"><dt>Warning</dt><dd>Verbose logging can produce a lot of text, especially if the library was compiled in debug mode. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">verbose</td><td>if <code>true</code> verbose logging will be enabled. If <code>false</code> verbose logging will be disabled. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classdoctotext_1_1PlainTextExtractor.html#aecef3bac8503995043a7c2e2b349fa6f">setLogStream</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="plain__text__extractor_8h_source.html">plain_text_extractor.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
